Platform Explorer / Nuxeo Platform LTS 2016 8.10

Contribution org.nuxeo.ecm.platform.routing.conditionalfolder.contentTemplateContrib--factoryBinding

This contribution is part of XML component org.nuxeo.ecm.platform.routing.conditionalfolder.contentTemplateContrib inside nuxeo-routing-core-8.10.jar /OSGI-INF/document-routing-conditional-content-template-contrib.xml

Extension Point

Extension point factoryBinding of component ContentTemplateService.

Contributed Items

  • <factoryBinding factoryName="SimpleTemplateFactory" name="ConditionalfolderFactory" targetType="ConditionalStepFolder">
          <template>
            <templateItem description="Decisional step" id="routeDocStep" title="DecisionalStep" typeName="DocumentRouteStep"/>
            <templateItem description="Branch executed if option1 is chosen" id="option1" title="Option 1" typeName="StepFolder"/>
            <templateItem description="Branch executed if option2 is chosen" id="option2" title="Option 2" typeName="StepFolder"/>
          </template>
        </factoryBinding>

XML Source

<extension point="factoryBinding" target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService">

    <factoryBinding factoryName="SimpleTemplateFactory" name="ConditionalfolderFactory" targetType="ConditionalStepFolder">
      <template>
        <templateItem description="Decisional step" id="routeDocStep" title="DecisionalStep" typeName="DocumentRouteStep"/>
        <templateItem description="Branch executed if option1 is chosen" id="option1" title="Option 1" typeName="StepFolder"/>
        <templateItem description="Branch executed if option2 is chosen" id="option2" title="Option 2" typeName="StepFolder"/>
      </template>
    </factoryBinding>

  </extension>